﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Signage01.util;

namespace Signage01
{
    [Serializable]
    class ResourceRSS:ResourceGraphics
    {
        private EnumAll.DirectionText _directionText;
        public EnumAll.DirectionText DirectionText
        {
            get { return _directionText; }
            set { _directionText = value; }
        }

        private EnumAll.DirectionScroll _directionScroll;
        public EnumAll.DirectionScroll DirectionScroll
        {
            get { return _directionScroll; }
            set { _directionScroll = value; }
        }

        private int _scrollingSpped;
        public int ScrollingSpped
        {
            get { return _scrollingSpped; }
            set { _scrollingSpped = value; }
        }
                

        private RSSSource _rssSource;

        public RSSSource RssSource
        {
            get { return _rssSource; }
            set { _rssSource = value; }
        }

        private int _minRefresh; // in minutes

        public int MinRefresh
        {
            get { return _minRefresh; }
            set { _minRefresh = value; }
        }

        private string _strAllNewsTitles;

        public string StrAllNewsTitles
        {
            get { return _strAllNewsTitles; }
            set { _strAllNewsTitles = value; }
        }

        public ResourceRSS()
        {
            this.StrAllNewsTitles = "";
        }
    }
}

